{% extends 'worker.html'%}
{% block content %}
<div class="container">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">{{title}}</h3>
        </div>
        <div class="panel-body">
            <form action="" method="POST"novalidate>
                {% csrf_token %}
                {% for fields in form%}
                    <div class="form-group">
                        <label for="">{{fields.label}}</label>
                         {{fields}}
                         <span style="color:red">{{fields.errors.0}}</span>
                    </div>
                   
                {% endfor %}
                <button class="btn btn-info">提交</button>
                <!-- {{form.id.label}}:{{form.id}} -->
                <!-- {{form.mobile.label}}:{{form.mobile}}
                {{form.price.label}}:{{form.price}}
                {{form.level.label}}:{{form.level}}
                {{form.status.label}}:{{form.status}} -->
            </form>
        </div>
    </div>
</div>

{% endblock %}